import request from '@/router/axios';
import { baseUrl } from '@/config/env';

export const getMenu = (type = 0) => request({
    url: baseUrl + '/admin/resources/menu',
    method: 'get',
    data: {
        type
    }
});

export const getTopMenu = () => request({
    url: baseUrl + '/user/getTopMenu',
    method: 'get'
});

